package BusquedaLocal;

import aima.search.framework.HeuristicFunction;

public class LSHeuristicFunction implements HeuristicFunction {
    public boolean equals(Object obj) {
        boolean retValue;   
        retValue = super.equals(obj);
        return retValue;
    }
    
    public double getHeuristicValue(Object state) {
        Board board=(Board)state;
        double d = board.Calcular_Ganancias();
        return (-d);
    }
}
